|
![](/i/fill.gif) |
Tom Melly <tom### [at] tomandlu co uk> wrote:
: Shouldn't that be:
: heighfield
: { whatever
: texture { whatever scale <1, 1/2, 1>}
: scale <1, 2, 1>
: }
No. The idea was that the heighfield should be scaled in widht and length
to the appropriate size before texturing (so that the texture would not be
distorted or anything), but the height should be 1 because of the used slope
pattern.
My suggestion was to first set the width and length of the heightfield to
whatever they should be but leave the height to 1, then texture it and then
set the height to what it should be.
--
#local D=array[6]{11117333955,7382340,3358,3900569407,970,4254934330}
#local I=0;#macro M()<mod(D[I],13)-6,mod(div(D[I],13),8)-3,10>#end
blob{#while(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2
pigment{rgb M()}}#local I=(D[I]>99?I:I+1);#end} /*- Warp -*/
Post a reply to this message
|
![](/i/fill.gif) |